package com.dt76.smallloanbackendservice.controller.jh;

import com.dt76.smallloanbackendservice.pojo.jh.MoneyNum;

import com.dt76.smallloanbackendservice.service.jh.LoanproductanalysisService;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Controller;

import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
@RequestMapping("/jh")
public class loanproductanalysisController  {

    @Autowired
    private LoanproductanalysisService loanproductanalysisService;

    @RequestMapping("/qryMoneyNumAll")
    @ResponseBody
    public List<MoneyNum>  qryMoneyNumAll(){
        return loanproductanalysisService.qryMoneyNumAll();
    }

}
